package org.example.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class Shop implements Serializable {
    @ApiModelProperty(value = "商店id")
    private Long id;

    @ApiModelProperty(value = "logo url地址")
    private String logo;

    @ApiModelProperty(value = "商店名")
    private String name;

    @ApiModelProperty(value = "商店总销量")
    private Long sells;

    @ApiModelProperty(value = "商品总数")
    private Long pcounts;

    @ApiModelProperty(value = "商品描述评分（0-5随机数）")
    private Long dessscore;

    @ApiModelProperty(value = "卖家服务评分（0-5随机数）")
    private String serscore;

    @ApiModelProperty(value = "物流服务评分（0-5随机数）")
    private String expscore;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSells() {
        return sells;
    }

    public void setSells(Long sells) {
        this.sells = sells;
    }

    public Long getPcounts() {
        return pcounts;
    }

    public void setPcounts(Long pcounts) {
        this.pcounts = pcounts;
    }

    public Long getDessscore() {
        return dessscore;
    }

    public void setDessscore(Long dessscore) {
        this.dessscore = dessscore;
    }

    public String getSerscore() {
        return serscore;
    }

    public void setSerscore(String serscore) {
        this.serscore = serscore;
    }

    public String getExpscore() {
        return expscore;
    }

    public void setExpscore(String expscore) {
        this.expscore = expscore;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", logo=").append(logo);
        sb.append(", name=").append(name);
        sb.append(", sells=").append(sells);
        sb.append(", pcounts=").append(pcounts);
        sb.append(", dessscore=").append(dessscore);
        sb.append(", serscore=").append(serscore);
        sb.append(", expscore=").append(expscore);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}